g_object_class_install_properties (gobject_class, LAST_PROP, properties);
gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_RANGE_ACCESSIBLE);
+ gtk_widget_class_set_css_name (widget_class, "range");
}
static void
#include "config.h"
#include "gtkscrollbar.h"
-#include "gtkrangeprivate.h"
+#include "gtkrange.h"
#include "gtkadjustment.h"
#include "gtkintl.h"
*
* |[<!-- language="plain" -->
* scrollbar[.fine-tune]
- * ╰── contents
- * ├── [button.up]
- * ├── [button.down]
- * ├── trough
- * │ ╰── slider
- * ├── [button.up]
- * ╰── [button.down]
+ * ╰── box
+ * ╰── range
+ * ╰── trough
+ * ╰── slider
* ]|
*
* GtkScrollbar has a main CSS node with name scrollbar and a subnode for its
- * contents, with subnodes named trough and slider.
+ * contents. Both the main node and the box subnode get the .horizontal or .vertical
+ * style classes applied, depending on the scrollbar's orientation.
*
* The main node gets the style class .fine-tune added when the scrollbar is
* in 'fine-tuning' mode.